/**
 * @Author: ZFEason
 * @Date: 2023-07-18 15:43:50
 * @LastEditors: ZFEason
 * @LastEditTime: 2023-07-19 14:41:27
 * @FilePath: /ift-economy-network-h5/src/service/project-scheduling/index.ts
 * @Description: 
 */
import { get, post } from '@/utils/request'
const VITE_API_URL = import.meta.env.VITE_API_URL

const GOVECONOMICS = `${VITE_API_URL}ft-economic-api`

/**
* 项目调度首页查询
* @param params
* @returns
*/
export const departItemsOverview = (data = {}) =>
  post(`${GOVECONOMICS}/projectInvestment/departItemsOverview`, data, {
    showLoading: true,
  })

/**
* 提交部门申请调度-项目类型
* @param params
* @returns
*/
export const getProjectType = (params = {}) =>
  get(`${GOVECONOMICS}/project-issue/search-projectType`, params, {
    showLoading: true,
  })

/**
* 提交部门申请调度-涉及部门
* @param params
* @returns
*/
export const getInvolvedDeptList = (params = {}) =>
  get(`${GOVECONOMICS}/projectInvestment/getInvolvedDeptList`, params, {
    showLoading: true,
  })


/**
* 提交部门申请调度
* @param params
* @returns
*/
export const submitProjectScheduling = (data = {}) =>
  post(`${GOVECONOMICS}/projectInvestment/declareTopic`, data, {
    showLoading: true,
  })


